<%--
  Created by IntelliJ IDEA.
  User: Marco
  Date: 2016/6/27
  Time: 14:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div class="htmleaf-container">
    <div class="wrapper">
        <div class="container">
            <h1>Welcome</h1>

            <form class="form">
                <input type="text" placeholder="用户名">
                <input type="password" placeholder="密码">
                <button type="submit" id="login-button">登录</button>
            </form>
        </div>

        <ul class="bg-bubbles">
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</div>

<script src="jquery-2.1.1.min.js" type="text/javascript"></script>
<script>

        $('#login-button').click(function (event) {
            event.preventDefault();  $('form').fadeOut(500);
        $('.wrapper').addClass('form-success');
    });
</script>
</div>
</body>
</html>
